﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LuxuryResort.DAO;
using LuxuryResort.Entity;

namespace LuxuryResort.BIZ
{
    public class StaffBO: IStaffBO
    {
        readonly IStaffDAO _dao = new StaffDAO();

        public UserEntity UserAuthenticate(string userName, string passWord)
        {
            return _dao.UserAuthenticate(userName, passWord);
        }


        public List<ReservationEntity> RetrieveReservationAll()
        {
            return _dao.RetrieveReservationAll();
        }

        public ReservationEntity RetrieveReservationByReservationCode(string reservationCode)
        {
            return _dao.RetrieveReservationByReservationCode(reservationCode);
        }

        public List<ReservationRoomEntity> RetrieveReservationRoomByRevervationId(Guid reservationId)
        {
            return _dao.RetrieveReservationRoomByRevervationId(reservationId);
        }

        public List<RoomEntity> RetrieveAvailableRoom()
        {
            return _dao.RetrieveAvailableRoom();
        }

        public List<FoodBeverageEntity> RetrieveFoodAll()
        {
            return _dao.RetrieveFoodAll();
        }

        public List<FoodBeverageEntity> RetrieveBeverageAll()
        {
            return _dao.RetrieveBeverageAll();
        }
    }
}
